<%@ include file="/init.jsp" %>

<b>Welcome to our library</b>

<portlet:renderURL var="updateBookURL">
  <portlet:param name="jspPage" value="/update.jsp"/>
</portlet:renderURL>

<br/><br/><a href="<%= updateBookURL %>">Add new Book &raquo;</a>

<%
  PortletURL listBooksURL = renderResponse.createRenderURL();
  listBooksURL.setParameter("jspPage", "/list.jsp");
%>

&nbsp;&nbsp;&nbsp;
<a href="<%= listBooksURL.toString() %>">Show all books &raquo;</a>